﻿<!-- #include file="mymin.asp" -->
<%
Call Head()
If key<>0 Then Call error("<card title=""警告""><p>权限不足！")

w "<card title='文章分类修改'><p>"

dim rs,sql,id
id=request.querystring("id")
set rs=server.CreateObject ("ADODB.Recordset")
sql="Select * from 74hu_list where classid="&id
rs.open sql,myconn,2,3
if not (rs.bof and rs.eof) then
	rs.delete
	myconn.execute("delete from 74hu_article where classid="&id)
	w "文章类别(包含类别中的文章)删除成功!"
else
	w "栏目不存在或者已删除!"
end if
rs.close
set rs=nothing

%>
<br/>----------<br/>
<a href='wzclass.asp?sid=<%=sid%>'>[文章分类]</a><%Call last%>